Ultra low power tracked low voltage reference source

ABSTRACT

A reference voltage source for an integrated circuit includes a first voltage reference that is adjustable, a second voltage reference, a differential sensing device to compare a voltage provided by the first voltage reference to a voltage provided by the second voltage reference, a controller to provide a trim control signal to the first voltage reference in response to an output of the differential sensing device for adjusting the first voltage reference and to provide a signal to power down the second voltage reference after the first voltage reference has been adjusted.

RELATED APPLICATION

[0001] This application is a continuation of U.S. patent application Ser. No. 10/230,355 (allowed), filed Aug. 28, 2002 and titled “Ultra Low Power Tracked Low Voltage Reference Source,” which is commonly assigned and incorporated by reference in its entirety herein. U.S. patent application Ser. No. 10/230,355 claims priority to Italian Patent Application Serial No. RM2001A000521, filed Aug. 30, 2001 and titled “Ultra Low Power Tracked Low Voltage Reference Source,” which is commonly assigned.

TECHNICAL FIELD

[0002] The present invention relates in general to a method and apparatus for generating a voltage reference, and, in particular, to a method and apparatus for generating a high precision, low-power voltage reference for a flash memory circuit.

BACKGROUND

[0003] In low-voltage low power flash memories, for example, where Vcc is between 1.65 and 1.95 V, there is a need for a highly precise voltage reference (Vref) source. This circuit is needed to calibrate the different on-chip power supplies required for operation of the memory. Usually Vref sources are bandgap reference voltage sources based on the compensated behavior of the P-N silicon diode junction. There are a number of bandgap reference voltage sources described in the literature. Many of these circuits offer good stability versus Vcc power supply, temperature range, and process parameter spread.

[0004] Unfortunately, precision bandgap reference voltage sources working at low Vcc voltages, such as Vcc of about 1.8 V, typically require a significant amount of current to operate. This current can be in the range of hundreds of microamps, which is too high for flash memories used in portable devices, such as cellular phones. The bandgap circuits also cannot be shut down in “power down” or in standby mode, otherwise latency would be too great when reading the memory in the power down or standby mode. While voltage reference circuits requiring only a few microamps are available, these circuits do not provide the stability required over a range of Vcc power supply voltages, temperatures and process parameter spreads.

[0005] For the reasons stated above and for additional reasons stated hereinafter, which will become apparent to those skilled in the art upon reading and understanding the present specification, there is a need in the art for a low current Vref source that has high stability over a range of Vcc power supply voltages, temperatures, and process parameter spreads. The above-mentioned shortcomings of traditional Vref sources and other problems are addressed by the present invention, at least in part, and will be understood by reading and studying the following specification.

BRIEF DESCRIPTION OF THE DRAWINGS

[0006]FIG. 1 is a block diagram of a memory circuit coupled to a processor and a voltage supply according to an embodiment of the invention.

[0007]FIG. 2 is a block diagram of a Vref source circuit according to an embodiment of the invention.

[0008]FIG. 3 is a block diagram showing additional details of components of the Vref source circuit according to an embodiment of the invention.

[0009]FIG. 4 is a timing diagram showing operation of a Vref source circuit according to an embodiment of the invention where Vref is greater than Vbg.

[0010]FIG. 5 is another timing diagram showing operation of a Vref source circuit according to an embodiment of the invention where Vref is less than Vbg.

[0011] Although, various embodiments have been illustrated using particular electronic components it will be understood by those of ordinary skill in the art that other circuit elements could be used to implement the invention and that the present invention is not limited to the arrangement of circuit elements disclosed. Moreover, it will also be understood in the art that the present invention could be applied to a Vref source circuit for use in devices other than flash memory circuits that operate on very low supply voltages. Therefore, the present invention is not limited to a Vref source circuit for very low voltage flash memory.

DETAILED DESCRIPTION

[0012]FIG. 1 shows a computer system 100 including a memory 110, a power supply 130 and a processor 140. Memory 110 includes a memory array 112 of nonvolatile memory cells (which can be flash memory cells), an on-chip reference voltage source 200 for providing stable reference voltages for operation of the memory and a controller 120 that controls detailed operations of memory 110 such as the various individual steps necessary for carrying out writing, reading, and erasing operations. Memory 110 also includes an address decoder circuit 122 for decoding and selecting addresses provided by processor 140 to access appropriate memory cells in memory array 112, and an I/O circuit 124 for providing bi-directional communications between processor 140 and memory circuit 110.

[0013]FIG. 2 shows a simplified block diagram of a Vref source circuit 200 according to one example of the invention. The circuit includes low voltage bandgap reference 210, low current trimmable Vref source 212, differential sensing device 214, track control 216, clock generator 218 and astable circuit 220. Low voltage bandgap reference 210 is preferably a high precision bandgap reference voltage source that is set to a predetermined voltage. In operation, it may draw relatively high current, for example, in the range of 200 μA. Low current trimmable (adjustable) Vref source 212 is a relatively low current consumption Vref source that has relatively low precision over changes in Vcc, temperature, and process parameters. Differential sensing device 214 compares two input voltages and outputs a result that indicates which voltage is higher. Differential sensing device 214 may be a comparator or a differential amplifier or other differential voltage sensing device. Its inputs are the voltage reference outputs of low voltage bandgap reference 210 and of trimmable Vref source 212. Track control 216 includes logic circuitry for supervising the operation of Vref source circuit 200 and is clocked by a high frequency clock signal provided by clock generator 218.

[0014]FIG. 3 shows trimmable Vref source 212 in more detail. In this example, trimmable Vref source 212 includes current source 302, RC filter 310 and decoder 308. Current Source 302 is powered by Vcc and feeds resistor ladder 304. Individual resistors of resistor ladder 304 are selected by switches 306. Switches 306 are activated by the output of decoder 308. In the example shown in FIG. 3, decoder 308 is a 7-bit decoder. Resistor ladder 304 thus includes a series of 128 resistors selectively tapped so that the resistors can be shunted to ground by any one of the switches 306. FIG. 3 shows 128 transistor switches, T₁-T₁₂₈, only one of which at any one time are selected by decoder 308 according to the value of the 7 bits of vtrim. Tolerance of the resistors of resistor ladder 304 corresponds to a Vref trimming resolution of 5 mV, more than adequate for all practical purposes in a flash memory. Other tolerances can, of course, be selected depending on the needs of a particular circuit design. RC filter 310 may be included to filter any relatively high frequency Vcc noise from reaching current source 302.

[0015] Vref source circuit 200 operates, in general, as follows. At power-up, a reset signal resets Track Control 216 to an initial state. The logic signal track_enable input to Track Control 216 is, however, initially at “0” preventing operation of Track Control 216 immediately following the reset. The output Vbg of the Low voltage Bandgap is also disabled by the bg_enable signal provided by track controller 216, which is at “0” following reset. Trimmable Vref source 212 activates, providing its output Vref to one input of differential sensing device 214. Differential sensing device 214 is also initially disabled by the comp_enable signal provided by track controller 216, which is at “0”.

[0016] The track_enable signal input to track controller 216 is a periodic, relatively low frequency short pulse, of 1 KHz, for example, generated by low current astable circuit 220. Astable circuit 220 can be implemented as a current controlled oscillator, known to those of ordinary skill in the art. For example, a 4 μs period low current oscillator followed by a frequency divider (f/256), can be employed in order to reduce capacitance area. In the example, astable circuit 220 provides a 4 μs pulse every 1 ms. This duty cycle provides good tracking with minimal power consumption. The maximum time in which the tracking circuit is active, Tactive, in the worst case, can be calculated as follows:

Tactive=[Tclock*(2{circumflex over ( )}N+k)]  Formula 1

[0017] where Tclock is the clock period; N is number of bits of the vtrim signal and k is the number of latency clock cycles, which will depend on the particular implementation. In the present example, k is 3, Tclock is 100 ns and N is 7. If the current consumption of low voltage bandgap reference 210 plus the current consumption of differential sensing device 214 plus the current consumption of track control 216 is Ipeak, then the average current consumption can be determined by:

Iav=Ipeak*Tactive/Ttrk _(—) enbl+Ilcr  Formula 2

[0018] where Ilcr is the current of low current trimmable Vref source 212, Ilcr is 5 μA, Iav is 10 μA, Ipeak is 200 μA, and Tactive is 128 μs. Thus, in this example, Ttrk_enbl is 5.12 ms. This example is based, of course, on the worst case. If, during normal tracking, Tactive is 5 times Tclock, then track_enable will be 20 μs. For this reason, a 1 kHz cycle for astable circuit 220 is sufficient.

[0019] The track_enable pulse also enables track control 216 to turn on clock generator 218 which runs at a much higher frequency than astable circuit 220, in the range of about 10 MHz, for example. After track_enable has transitioned to logic “1” clock generator 218 begins to run. The first clock pulse is received by track controller 216. Vref start also by now has reached logic “1.” Track control 216 switches bg_enable to “1”, enabling power to low voltage bandgap reference 210. Track control 216 also switches Comp_enable to “1” thus enabling differential sensing device 214.

[0020] Low voltage bandgap reference 210 takes some time to stabilize its output voltage, Vbg, after power-up. Track control 216 will not actually start the tracking operation until bg_start goes to “1”, signaling that low voltage bandgap reference 210 has a stable output. Once bg_start is “1”, and, as soon as the next next clock pulse is received, track control 216 starts to analyze the comp_out signal of differential sensing device 214. If Vref is lower than Vbg, comp_out is “0” and the digital 7 bit output vtrim is incremented by 1. The vtrim signals trims or adjusts trimmable Vref source 212 to a higher Vref value. At the next clock cycle, comp_out is again evaluated by track control 216, and, if Vref is still too low, vtrim is again incremented by 1. This operation repeats until Vref is higher than Vbg. When comp_out transitions from “0” to “1” signaling that the tracking operation has been completed, comp_enable, clock_enable, and bg_enable go to “0” shutting off the differential sensing device 214, low voltage bandgap reference 210 and clock generator 218. Trimmable Vref source 212 is now trimmed essentially to the same value as the low voltage bandgap reference 210 and provides Vref to the whole flash memory, as needed.

[0021] After about 1 ms, at the first clock pulse after the track_enable rising edge, track control 216 resumes its operation. First, bg_enable and comp_enable to go “1” powering low voltage bandgap reference 210 and differential sensing device 214. As soon as the output Vbg is stable, bg_start goes to “1,” again enabling operation of track control 216. Comp_out is then evaluated by track control 216. If adjustment of Vref is needed, vtrim signals are increased or decreased by 1 every clock pulse, thus fine-tuning trimmable Vref source 212. As the trimming is completed, (i.e., the device is calibrated) differential sensing device 214, low voltage bandgap reference 210 and clock generator 218 are again powered down.

[0022] The operation of the present invention is illustrated in the timing diagrams of FIGS. 4 and 5. FIG. 4 shows an example where Vref is greater than Vbg. FIG. 5 shows an example where Vref is less than Vbg. At t₁, Vref start is already active. Track_enable transitions from “0” to “1” and Comp_enable, clock_enable, and bg_enable activate comparator 214 and low voltage bandgap source 210, respectively. Vbg ramps in response to bg_enable and then stabilizes. At t₂, bg_start goes to “1” signaling that Vbg is now stable. As soon as the next clock pulse comes in, track control 216 starts to analyze the comp_out signal. Adjustment will take place (trimming Vref down is shown in FIG. 4 and trimming verf up is illustrated in FIG. 5) until comp_out transitions at t₃. After trimming has been completed, comp_enable, clock_enable, bg_enable and bg_start transition to zero to conserve power.

[0023] Considerable power savings can be achieved with the present invention. Allowing for example 600 ns from the shut off state to stabilize Vbg, and an average of 2 clock cycles (200 ns, for example) for trimming, the trimming operation may require 1 μs. Since the period of the track_enable pulses is 1 ms, low voltage bandgap reference 210 and differential sensing device 214 are active and require power only for 1 μs every ms (duty cycle {fraction (1/1000)}). If their total operating current is 200 μA, for example, then the actual average current is 200/1000=0.2 μA. Considering that trimmable Vref source 212 typically draws 10 μA, the increment of 0.2 μA, (2% of the trimmable Vref source 212) is practically negligible. Current consumption may no doubt be even less in many instances.

[0024] Since low voltage bandgap reference 210 is stable over changes in temperature and Vcc voltage, as well as process spread, its stability is effectively transferred to the trimmable Vref source 212, with an additional power consumption penalty of only 0.2 μA. Of course, during the gap of 1 ms between track_enable pulses there is no tracking control. This is not likely to present problems. Since process variations occur only at the time of fabrication of the memory they should not be a factor. Likewise, temperature variations are also negligible because they occur relatively slowly compared to the speed at which the invention operates. Slow Vcc variations can also be tracked without a problem. Thus, the only variations potentially affecting the stability of trimmable Vref source 212 would be any noise on Vcc occurring during the 1 ms time frame where there is no tracking control. If such noise is a problem, the trimmable Vref source 212 can easily be designed to be stable with fast Vcc variation occurring in the 1 ms time frame without consuming additional power, by means of a simple RC filter on its power supply Vcc. In conclusion, exceptional Vref stability is accomplished by embodiments of the invention with inexpensive additional circuitry and practically negligible current consumption. 

What is claimed is:
 1. A reference voltage source for an integrated circuit comprising: a trimmable voltage reference for providing a reference voltage for the integrated circuit; a bandgap voltage reference; a differential sensing device for comparing the reference voltage provided by the trimmable voltage reference to a voltage provided by the bandgap voltage reference; and a controller responsive to an output of the differential sensing device for adjusting the trimmable voltage reference while the output of the differential sensing device has an initial value and for providing a signal to power down the bandgap voltage reference when the output of the differential sensing device transitions to a second value.
 2. The reference voltage source for an integrated circuit of claim 1, wherein the controller is adapted to periodically adjust the trimmable voltage reference.
 3. The reference voltage source for an integrated circuit of claim 2, wherein the controller is adapted to reactivate the bandgap voltage reference prior to each adjustment period.
 4. The reference voltage source for an integrated circuit of claim 1, wherein the controller functions in response to a clock and activates in response to a signal that switches at a frequency that is lower than the frequency of the clock.
 5. The reference voltage source for an integrated circuit of claim 1, wherein the trimmable voltage reference comprises a plurality of series connected resistors tapped by a plurality of switches selectively engaged in response to a trim signal from the controller.
 6. The reference voltage source for an integrated circuit of claim 1, wherein the trimmable voltage reference comprises a resistor ladder coupled to a current source, in which the resistors are selectively shunted by switches in response to a trim signal from the controller.
 7. The reference voltage source for an integrated circuit of claim 1, wherein the trimmable voltage reference requires less current to operate than the bandgap voltage reference.
 8. The reference voltage source for an integrated circuit of claim 7, wherein the bandgap voltage reference has higher precision than the trimmable voltage reference.
 9. A reference voltage source for an integrated circuit comprising: a trimmable voltage reference for providing a reference voltage for the integrated circuit; a bandgap voltage reference; a differential sensing device for comparing the reference voltage provided by the trimmable voltage reference to a voltage provided by the bandgap voltage reference; and a controller responsive to an output of the differential sensing device for adjusting the trimmable voltage reference while the output of the differential sensing device has an initial value and for providing a signal to power down the bandgap voltage reference and the differential sensing device when the output of the differential sensing device transitions to a second value; wherein the controller is adapted to periodically provide a signal to reactivate the bandgap voltage reference and the differential sensing device for periodically adjusting the trimmable voltage reference.
 10. The reference voltage source for an integrated circuit of claim 9, wherein the controller functions in response to a clock and activates in response to a signal that switches at a frequency that is lower than the frequency of the clock.
 11. The reference voltage source for an integrated circuit of claim 9, wherein the trimmable voltage reference requires less current to operate than the bandgap voltage reference and wherein the bandgap voltage reference has higher precision than the trimmable voltage reference.
 12. A method for adjusting a reference voltage for an integrated circuit comprising: enabling a first reference voltage and a second reference voltage; comparing the first reference voltage to the second reference voltage; adjusting the first reference voltage in response to the comparison to the second reference voltage until the comparison indicates that a transition has occurred relative to a differential between the first reference voltage and the second reference voltage; ceasing to adjust the first reference voltage after the comparison indicates that the transition has occurred.
 13. The method of claim 12, further comprising disabling the second reference voltage after the comparison indicates that the transition has occurred.
 14. The method of claim 13, further comprising, re-enabling the second reference voltage periodically for comparing and adjusting the first reference voltage.
 15. The method of claim 12, wherein comparing the first reference voltage to the second reference voltage generates a comparison signal having a first logic level when the first reference voltage is less than the second reference voltage and having a second logic level when the first reference voltage is greater than the second reference voltage.
 16. The method of claim 15, wherein the comparison indicates that a transition has occurred when the comparison signal transitions from the first logic level to the second logic level if the first reference voltage is initially less than the second reference voltage or when the comparison signal transitions from the second logic level to the first logic level if the first reference voltage is initially greater than the second reference voltage.
 17. The method of claim 15, wherein adjusting the first reference voltage comprises incrementing a trim signal if the comparison signal has the first logic level and decrementing the trim signal if the comparison signal has the second logic level.
 18. A method for adjusting a reference voltage for an integrated circuit, comprising: activating a first reference voltage source to generate a first voltage signal, wherein the first reference voltage source is adjustable in response to a value of a trim signal to modify the first voltage signal; after activating the first reference voltage source, activating a second reference voltage source to generate a second voltage signal and activating a differential sensing device for comparing the first voltage signal to the second voltage signal; waiting for the second voltage signal to stabilize; after the second voltage signal has stabilized, analyzing an output of the differential sensing device, wherein the output of the differential sensing device has an initial value of a first logic level or a second logic level; adjusting the value of the trim signal by increasing the value of the trim signal if the initial value of the output of the differential sensing device is the first logic level and decreasing the value of the trim signal if the initial value of the output of the differential sensing device is the second logic level; and discontinuing adjustment of the value of the trim signal in response to the output of the differential sensing device transitioning to the second logic level if the initial value was the first logic level or transitioning to the first logic level if the initial value was the second logic level.
 19. The method of claim 18, further comprising: deactivating the second reference voltage source and the differential sensing device in response to the transitioning of the output of the differential sensing device.
 20. The method of claim 19, further comprising: periodically reactivating the second reference voltage source and the differential sensing device to compare the first voltage signal to the second voltage signal and to readjust the value of the trim signal in response to the comparison.
 21. The method of claim 18, wherein the first reference voltage source is adapted to increase the first voltage signal in response to increasing the value of the trim signal and to decrease the first voltage signal in response to decreasing the value of the trim signal.
 22. The method of claim 18, wherein the first reference voltage source is adapted to draw less current than the second reference voltage source.
 23. The method of claim 22, wherein the first reference voltage source is adapted to draw current that is one order of magnitude less than the current draw of the second reference voltage source.
 24. The method of claim 18, wherein increasing the value of the trim signal comprises incrementing the value of the trim signal and decreasing the value of the trim signal comprises decrementing the value of the trim signal.
 25. The method of claim 18, further comprising: activating a clock generator concurrently to activating the second reference voltage source for generating a clock signal; wherein increasing the value of the trim signal comprises incrementing the value of the trim signal by one for every pulse of the clock signal and decreasing the value of the trim signal comprises decrementing the value of the trim signal by one for every pulse of the clock signal.
 26. The method of claim 25, further comprising: deactivating the clock generator in response to the transitioning of the output of the differential sensing device. 